package com.itcast.springboot.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 郭泽鹏
 * @Date 2020/9/1 20:35
 * @Version 1.0
 * @Description 用户注册传进来的参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="RegisterReq对象", description="用户注册类")
public class RegisterReq {
    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String userPassword;

    @ApiModelProperty(value = "用户电话")
    private String userPhone;

    @ApiModelProperty(value = "用户邮件")
    private String userEmail;

    @ApiModelProperty(value = "用户性别:0：女；1：男")
    private Boolean userSex;
}
